<template>
    <div>
        <el-header style=" font-size: 12px;line-height:60px;display: flex">
            <div style="text-align: left;flex: 1;font-size: 18px;">
                <span :class="collapseBtnClass" style="cursor: pointer" @click="collapse"></span>
            </div>
            <el-dropdown style="width: 200px;">
                <span>王小虎  </span>
                <i class="el-icon-arrow-down" style="margin: 10px;"></i>
                <el-dropdown-menu slot="dropdown">
                    <el-dropdown-item>查看</el-dropdown-item>
                    <el-dropdown-item>新增</el-dropdown-item>
                    <el-dropdown-item>删除</el-dropdown-item>
                </el-dropdown-menu>
            </el-dropdown>
        </el-header>
    </div>
</template>

<script>
    export default {
        name: "HeaderAdise",
        props:{
            collapseBtnClass:String,
            collapse: {type:Function},
        }
    }
</script>

<style scoped>

</style>
